Rudimentary PARWAN simulator built in MATLAB