Fixed the loops to use float instead of double
Added memory access optimization test