Spacecraft Formation Flying Control using Mean Orbit