changed all arrays to float, removed a bunch of rows