Changed to Vector coordinates for tracking movement, recursive approach resulted in stack overflow.