fixed laser calculations