The method according to the invention can be implemented as a computer program in a computer by using a commercially available programming language for mathematical calculations, such as C, C++ or FORTRAN, or as a specially detected unions of characters are stored.