Manually calculate trig tables at startup

This is instead of using the huge LUTs in tables.c, and using previously
commented out code in the Vanilla DOOM source. Reduces the size of the
resulting executable by a hefty 63.5 KiB!