Removed trash casts and blank lines.
Improved texture generation from noise.
Fixes on Noise.