Main script to run is formflyt.m. Inputs are currently placed in the section %%USER INPUTS. Might work on GUI to prompt user for inputs in the future.
Reference taken from: D'Amico, S and Montenbruck, O. Proximity Operations of Formation-Flying Spacecraft Using an Eccentricity/Inclination Vector Separation. Journal of Guidance, Control, and Dynamics, Vol.29, No.3, May-June 2006