Vectorize function

Changed function name to parseapachecombined, added vectorized code