constructor for ComplexFunctionExplorerModel from attributes dict