fixed surface brightness formula and added intensity scalar formula