Memory cleanup in joint decon
Merge branch 'devel' of https://github.com/miguelfmorales/FHD into devel