calibrating patient angle with respect to bed