removing a bug
add unit test
Fix check for 0 in values
Merge pull request #1 from lamblin/fix_elemwise_perform

Fix check for 0 in values
Merge pull request #1328 from SinaHonari/myBranch

removing a bug