object oriented implementation for Matlab included