Added more dictionary acceptance to create_tpdv

Allows greater flexilibilty