Added DataTypeSize function.
Removed nBytes from Data.
Fixed issues due to removal nBytes from Data.