Use the new double contraction to compute the Ricci scalar of a metric