update shape analysis and fortran back end
fix some bugs in shape analysis and add some new
mappings in the back end, now can support edit.