Mostly complete shadow mapping implementation

Shadow mapping code fully implemented. Now must uncomment and debug
shadows.