Conversion for ArrayFun
added test