Update unfold.m

speed up the unfold
http://apageofinsanity.wordpress.com/2013/10/11/unfold-faster/