public void setNaiveVariance(double[][] var) throws Exception {
//        if (var[0][1] != var[1][0]) {
//            throw new Exception("Expecting diagonal to be equal");
//        }


		naive_imat = new double[var.length][var[0].length];
		for (int i = 0; i < var.length; i++) {
			for (int j = 0; j < var[0].length; j++) {
				naive_imat[i][j] = var[i][j];
			}
		}

		calcSummaryValues();
	}
public void setNaiveVariance ( double [ ] [ ] var ) throws Exception { naive_imat = new double [ var . length ] [ var [ 0 ] . length ] ; for ( int i = 0 ; i < var . length ; i ++ ) { for ( int j = 0 ; j < var [ 0 ] . length ; j ++ ) { naive_imat [ i ] [ j ] = var [ i ] [ j ] ; } } calcSummaryValues ( ) ; }
@param var
@throws Exception