suppress doxygen warning
clean up connolly surface code more

make the output class more impish with get_ functions
use doubles for the computation as the error was a bit suprisingly
high on 32 bit systems.