Optics Measurement And Correction For The Relativistic Heavy Ion Collider