Calculate the euclidean distance between two inputs.
This function calculates the euclidean distance between the elements of Matrix A and the elements of Matrix B.