Reconstruction code added. A-posteriori now works.