Fix equations of movement