Quantum optical master equation simulations