Attempt to change speed ints to doubles

seg fault 11. Stack overflow need to trace errors