moved over matlab classes