Update getA.m

fixed scaling issues with BCs