public void expectationOnly(){
  expectation(estimatedIm);
}

public void expectationOnly ( ) { expectation ( estimatedIm ) ; }
this method is for use in the unit test for embayesestimator . it tests the expectation method without iterating .
