wrote separate Mirror.c file for use with nlopt (just started, still filling in the blanks)