fixed some bugs in propagate

indexing on error arrays should be working now.. still needs to be
checked, but it runs.