Changed g.h to constants.h

May add more constants in the future, so may as well make it more general.