UPDTAE: rename main functions and provide option in denoise to set minimum level of variance to be explained through reconstruction