Added z-transform after correlation calculation