micromaser simulation