Fixed intendation, all constants at the top, fixed (hopefully) the getdouble test also for the windows compiler.