stepchk function

Check a step size value for being within parameter limits.