Minor changes

CGFloat back to float