added FLOATT macro variable to all files to switch between float and double