Formatting, typo.
Implemented ln_lattice_noise1d.
Fixed warning.
Formatting.
Fixed a bug in *noise2d.