Add selection mask for Orientation and RelativeOrientation constraints

  - mask is a vector of 3 boolean value specifying which component of the
    error vector are constrained to 0.