added fasshauer's idea for solving PDEs and merged tim's changes