updated to use double instead of float particle positions
misc
Reduced seewaves.c by splitting out into other files