fix writeGJF bug
add dihedralScan