Added support for multi-dimensional noise