Matrix method for energy rating calculations of PV modules