Fix second bug in computation of RAS matrix.