Minor change to handle filename extension
Fix phase factor for nonzero q vector and implement an option to show little grouop