fixed visibility of of numDimensions in XYProjector to protected (oversight)