fixed NPP library search (it was splitted)
fixed NPP error constants usage
fixed norm diff function (it uses pre-allocated buffer now)
fixed constructors for functional objects (added __host__ modifier)