Modified the predict function in stf_methods to work properly with the new way of handling histories.