adding .c mexfile for VChooseK