You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: op_phaseCrCho.m
    path of file: ./repos/osprey/libraries/FID-A/processingTools
    
    the code of the file until where you have to start completion: % op_phaseCrCho.m
% Georg Oeltzschner, Johns Hopkins University 2019.
% 
% USAGE:
% [out,phaseShift]=op_phaseCrCho(in, suppressPlot);
% 
% DESCRIPTION:
% This function fits two Lorentzians to the 
    
function fits two Lorentzians to the Cr and Cho peaks, and optimizes
% the phase of the input spectrum based on Cr/Cho.
%
% If data with multiple averages is supplied, the fit is performed to the
% average, and all averages are phased accordingly.
% 
% INPUTS:
% in            = input data in matlab structure format. 
% suppressPlot  = (optional) Boolian to suppress plots.  Default = 0;
%
% OUTPUTS:
% out        = Output following automatic phasing.
% phShift    = The phase shift (in degrees) that was applied.

function [out,phShift]=op_phaseCrCho(in, suppressPlot);

if nargin < 2
    suppressPlot = 0;
end