[WIP] 50% flip for animations involving matrices when matrix code isn't loaded

@dstockwell @shans 
There might be a better way to do this. I'll think about it more tomorrow. But feel free to have a look.