New codesfor inference added, theory corrected, the first version of FF n-to-1 with delay is added