New Bragg peak function added