More updates to fix linear angles and impropers.

Change-Id: I851e65f8384a98b896cb3372738b236d9dd16598
added option to bastat

Change-Id: I807359f8979415ef606036801b34825f02ebd44e