Update for compatibility with oct2py 2.4