move array definitions to point-of-use
change light direction
update dependency for Makefile