fixed newton step in optimize3
added test case for plane bounce: particle in the back, moving to the fron