composition of accelerations