implemented circular regression as first step towards solving runaway robot part 5