Calculates the posterior mode projection of data into the latent space.
The posterior mode projection of a point from the target space, t, is the mode of the correspondig posterior distribution induced in the latent space.
modes = gtm_pmn(T, X, FI, W)
T - data points representing the distribution in the target space. N-by-D
X - data points forming a latent variable sample of the distribution in the latent space. K-by-L
FI - activations of the basis functions when fed X; K-by-(M+1)
W - a matrix of trained weights
modes - the posterior modes in latent space. N-by-L