Adding the pseudoresiduals, changing the C++ file (now the b_t informs x_t, before b_{t-1} informed x_t).