very important changes for how the accAndRt function works. wasn't quite correct before. whoops!