I thought about that but it might be difficult/annoying to pass such a long list as an argument. This has the most commonly discussed dihedrals and it can be easily modified.