docs: public static double[][] invert(double[][] matrix) {
  
  		if(isSolverUseApacheCommonsMath) {
  			// Use LU from common math
  			LUDecomposition lu = new LUDecomposition(new Array2DRowRealMatrix(matrix));
  			double[][] matrixInverse = lu.getSolver().getInverse().getData();
  
  			return matrixInverse;
  		}
  		else {
  			return org.jblas.Solve.pinv(new org.jblas.DoubleMatrix(matrix)).toArray2();
  		}
  	}