Bug fixes of delay_soft.h. A total of 3 bug where fixed since the
initial copy paste was of an old version of the program when porting
tthis to eclipse. The function are again tested to perfom with
expectency. A large comment was added to the file and more accurate
description was given for each function.