Added functionality to analyze provided matrix

WinTest changed to use this functionality
Merge remote-tracking branch 'Github/master'