BUG: Fixed serialization to consider the entire matrix of floats not bytes.