fixed off by one error in step
added a u0 array