Added Makefile
Fixed floating point performance bugs