added destructor of position module for closing matlab