Updated all the files to use our floating-point data type

We are now going to use the Real data type wherever we were previously
using doubles. This will let us specify the data type as
single-precision at compile time.