Topocentric orbit determination: Algorithms for the next generation surveys