removed sizeof_array since sizeof() does the same thing.

modified array to use sizeof(array) instead of sizeof(T) * N

modified C style arrays to use sizeof() and proplery check for arithmetic types before doing a binary serialization