Stav dette: Learning Conditional Distributions using Mixtures of Truncated Basis Functions