created stationkeeping algorithm