1. fixed several compile errors. 2. add a semi-implicit simulation approach.