clean up compiler warnings
use Vectors to pass coordinates and things

close #57