added debug functions for printing float values