BUG:fix the iteration for the linear registration
ENH:drop the requirement for matlab and fsl