fixed issues with object data modification

you have to explicitly inherit from the 'handle' class in matlab to get
objects to behave the way they're supposed to. wasn't doing that so none
of the internal property changes were actually taking effect.