Cognos acquires Applix for $339M