Corrected double/Float errors.