Fix params.length check on cornellBox

In case you'd like to set all of the walls' colors individually.