Moved `#define`s out of `envremap.c` and included them in `envtoirr.c`
Added lib math to `Makefile`