Update createA.m

Comment on how does it work.