made every calculation of errors smaller
Updated Ranking algorithm