add mka and cmka funtions

Credits to whoever invented these