Make BasicConfigurationShooter public and added local variable squareNorm_ and his getter residualError