Fix propagator bug in var replacement
Fix propagator bug in var replacement

The replacement from model vars (x, y, z) to loop vars (i1, i2, i3) had
a bug which was producing incorrect results. Also changed some method
names to improve readability.

opesci/devito,opesci/devito