Parking Cost Calculator written in MATLAB