fix m7 algo as well as optimization

* new keccak algo for m7
* new multiplication algo