Added binary saving and loading
Fixed quaternion serialization bug