*fixing cap_mask.. it seems to be stable with an exp_order of 8
* some more options on kwds