IDEX-1619: added FromElementFunction and methods for mapping