Adding MatchByMaxPMCC and Elastic optimization montaging