Matrix Abstract Layer to allow multiple libraries on JRL code