fixed parent cell dolfin interface change and max_dof parameter in adaptive algorithm