fix bug from matlab->python indexing change
fix typos/bugs/indexing in block dicing
catch and report errors
use python indexing, everything works up through the fusion step