Added conserveMomentum-function. Working smoothly.