Eigenmode solver of open optical laser cavities