If you look at the Python API help file and go to vcMatrix, it tells you how to do all of this. Distances between two frames is more of a mathematical problem than a VC one, but:
If there is to be a tutorial it would have to focus on component modeling, scripting or robotics. Some upcoming tutorials about robotics and kinematics will give you more practice in this stuff.