[ArucoCore] add getDetectedMatrix method, thad encapsule all functionality for detecting marker from input image, update other methods to private