Added manual least sq fit of polynomial of order 2