Added bit order template parameter to switch
New contributions from kvitekp
Merged