Added evaluate in ndArray to allow evaluation of a function over an ndArray elementwise