Updated to work with ITK4 , merging with some changes from https://github.com/BRAINSia/LogSymmetricDemons