Added java class Hadamard