MOSFET switching for an Inductor | Inductive spiking & Use of Freewheeling diode