Fixed argument checks for plotForwardSim.m