Bug-fix for division by zero in backward sampling step for PS.
Modified example test_lsb.py to write output to .mat file for later plotting