ControlVar resolution improved to 10e-6 order. Numerical error is
handled by String.format("%.6f",cvar)-ing and then parsing it to double.
Although this would better be done by rounding at a certain decimal
place, or using BigDecimal class.
Merge remote-tracking branch 'origin/master'