fixed silly bug
added hacky log messages to check quadratic formula

it was working correctly, it seems
fixed silly bug
added (disabled) log msgs to chase silly bug