Remove unused getMatrix functions, since icpc warns about them.
Do image inverse in double precision to prevent 1.e-7 occasional level errors in ImageF's.