New formula for calculating weighted total; changed directory to use on NatCap computer.