Total marks calculation method upgraded