Implemented choice of rotation angle.