byte_swap for 4 bytes int/float from Prof. Lupei Zhu
update