- Fix warnings about conversion between float and double - Initialize potentially uninitialized variables