Compile inter-array detection matrix
efficiencyMatrix(movements, arrays, paths, dotmat)
The movements table.
A list containing information for each array.
A list containing the shortest paths between arrays with distance > 1.
The matrix of distances between arrays.
A matrix of detection histories per fish.