It is a great fun to compute Planetary positions. You should really read a book named "Astronomical Algorithms" by Jean Meeus. That is the ultimate source for those computations, for hobby use. (There is a really nice chapter in there, about accuracy, and interpolation of values). You'll find various implementations of the algorithms on the net.