fixed error in comments and added default parameter values to peaks_from_model