Code runs now; intensity needs to be calculated.

heightMap, refMap, and transMap had duplicates in the scope of setup(),
which was causing a null pointer issue. Added dummy intensity. Formatted
code for readability.