fix bug in rotation matrix loading
pure onedot correct
change some function arg list
fix memory leak in loadwfn
get the same results as the Block code
add input module, add tests
Merge branch 'dev-sqm'