attempting to make arrays inherit from base_arr
corrected some compile errors
fixed compile errors on icpc and g++
fixed compile errors in g++