added slerp to motion states