updated demo.m to reflect use of optimized getAtilde.m.