added timing functions
changed doubles to floats
changed doubles to floats
changed doubles to floats