scalar issue resolved. N was not specified.  tstep was replaced with ~