Expansions in Terms of Heat Polynomials and Associated Functions