Computer model of a superluminescent LED with lateral confinement