Moved `#define`s out of `envremap.c` and included them in `envtoirr.c`
Added lib math to `Makefile`
Moved the `#define`s back in `envremap.c` (as per rlk's request) and copied the one useful `#define` into `envtoirr.c`