really fixed linspace, fixed dimensions in restart
removed debug, 1 step still has problems