Update createA.m

More explicit Indexes  while creating A.