implemented Ricci scalar calculatin in REmbedded.py