Added header declaration for array conversion
Added code to create array of pointers
Modified fitter function to use new code