Examples checked for peaks_from_model

Updated the examples related with the default values of pfm. Also fixed a small bug.