updated TODO
expanded matrix calibration, debugged for the exponential increase bug
updated masking routine for the signal propagation