MDLD/real cosine function