Added per-residue scoring