Bayesian Methods for Functional and Time Series Data