fix compatibility issue

allow return of the first past noise
fix bug when leave.out.a=0
fix a bug

returned past noise must be standardized
new functionalities