This function checks that matrix introduced is as expected. Should be a matrix, squared, with a dimension greater or equal to two, without negative entries and at least an entry different of 0.
Usage
CheckInputData(datatable)
Arguments
datatable
Matrix. Expected to be square matrix with at least 2 rows (columns), non negative values and at least an element different of zero.