Fix float literals in random_noise.cpp
Fix: returns 'false' instead NULL-pointer in distort.cpp and noise.cpp
Removed unused variable from curvegradient.cpp
Add parentheses around '&&' operator in conditions