Functions R() and R_gs() updated for two-centres.

Added additional parameter to denote centre.
Forgot to save before last commit!

Small change to header file that should have been in the last commit.