Added dependency to opencv for matrix structure