matrix transpose and simple moving average examples + exclusive_scan perf tests

Hi Kyle,

I have corrected the simple moving average example and added one for the matrix transposition. Let me know if you have any comments or issue!