Arrayfunc

Updated curve in accordance with the new arrayfunc def