I've got most of the new Mode Matching Telescope figured out. The scripts and an example result are at: MMT09 wiki (Rather, the scripts are in the svn: MMT svn)
Issues still to be resolved:
* We're getting pretty iffy 'angles' between tilt and translation when using the mode matching mirrors for steering.
* I haven't taken into account the astigmatism which occurs when you tilt the mode matching mirrors.
The nifty thing about these scripts is that they take a look at the mode matching overlap: For each possible mode matching solution it adds noise to all of the distances and radii of curvature during ~10,000 iterations and plots a histogram of the overlap so that we can see which solutions have a better chance of giving us the optimal overlap, even if we place the optics in slightly the wrong place.
I'd like to update the overlap part of the script with the astigmatism business: do we lose goodness of overlap if we tilt the mirrors by a bit? I think this will require redoing the overlap part with the X and Y directions separate. Koji has done this in the past. My current code assumes that the beam is always symmetric in X and Y.