Added conversion between NSIndexSet and MCOIndexSet (fixed #370)