YES, make the array a double, now compiles, but not sure if working yet