Reyes renderer in Scala, partly based off of Boswell's renderer (http://www.steckles.com/reyes1.html)