Remove unnecessary explicit copy constructors and assignment operators
Throw an exception when gdist range is invalid
Improve documentation and message of exceptions