Fabry-Perot laser using travelling wave laser model (TWLM)