Updated scripts

Rectified bug in matlab script and added spice models for 3-phase
simulations