Added MatrixProduct and MedianFilter