Fix remaining bugs.
Fixed denc
Improved monitor.html to wrap details of simulation in details tag
separate maos/maos.c into maos.c and main.c. Implemented a maos.mex to call maos from matlab.