Fix ccppcheck performance warnings for the BRAINSStandAlone
Merge pull request #200 from aghayoor/cppcheck_performance

Fix ccppcheck performance warnings for the BRAINSStandAlone