Rapidly rotating general relativistic stars - I. Numerical method and its application to uniformly rotating polytropes | Synapse