[FIX] Replaced zeros preallocation with dynamic preallocation from opDiag up till opHadamard