Added testing to compute error for various choices of C and sigma