Implementation of different variants of Parseval metric