[FEATURE] added nX method to BSpline2d wrapper class