Function to compute the logdensity for FDA