fix rotation constructor, add RPY and YPR options