Added new function (MaxFromArray)
Added new test (testMaxFromArray)
Fix function and test for MaxFromArray
Merge branch 'dev'