Updated data handler

Updated data handler in order to load data into array data members of
the Spatial class.