input data format of vector fit is modified to handle extra information about peaks