Update input.h

gives now back the information how many peaks were set.
int* positions was added at last parameter which gives you the direct information where the peaks are set