mmK0 bugfix & ammsearch retime fixes
mmK0 bugfix & ammsearch retime fixes

rakib-hasan/math-atlas,rakib-hasan/math-atlas,rakib-hasan/math-atlas,rakib-hasan/math-atlas,rakib-hasan/math-atlas,rakib-hasan/math-atlas