Create branch KAP
Test
Implementing masking operators