SMS dit: Learning Conditional Distributions using Mixtures of Truncated Basis Functions