I don't know the LM2101: what is it ? However where do you measure the distorted waveform, at the output of the LM2012 (gate of IRF520) or at the output of the circuit (I presume the 50 ohm resistor) ?
In the first case, take into account that the IRF520 has a quite high input capacitance (350 pF), it could be that LM2101 is not able to drive it or its output impedance is too high (roughly 10 harmonics have to pass to have a good squarewave). You can try to connect the output of the LM2101 to a capacitor of 390 pF to ground and see if the distorsion appears; if not the problem is not the input capacitance of the MOSFET.