Adds the constants and a local hour angle function.