added cortex to SConstruct so I can write images out
fiddled a bit/added code that writes out tiffs
reduced grid size