added search for data origin in header
added origin values
populate data vector, assuming doubles
removed warnings