CALCULATION OF RELAXATION FUNCTIONS - A NEW DEVELOPMENT WITHIN THE MORI FORMALISM