added flash power calculation math, fixed syntax in distance and aperture calculations