small fix
another small fix
better
calcRestrictMatrix_any
small refactor: calcMatrix_py -> calcRestrictMatrix_py
small assert
cleanup. _getAnyCalc