Changed int's to doubles for coord and course