Added global variables from functions.cpp to constants.cpp

Resolves #272