Original source and revised code

Original source from Maureen Chou for impact friciton oscillator and
some revision help from Olivier Huber