Fixed a bug in size estimation of diagonal matrices and wrote a test for it
Removed extra code from the test
Merge pull request #558 from vitalyg/develop

Fixed a bug in size estimation of diagonal matrices
Merge pull request #557 from tomtau/feature/optimizedmatrix

Feature/optimizedmatrix - One Column + graph propagation, L2 normalization, (A*B)+C optimization
Separated the special case in Product