Raise error when unable to solve for n_steps

The tests that return 0 do not represent the generic case where an erroneous
number of steps can be returned.  Better to raise an error here and clearly
communicate the user is trying to do an invalid thing.