-Fixed bugs with dividing to zero
-Fixed bug with memory overfloating caused by mistmaush incompatibility of variable t in kernel function and in place where it is evoked.