Update template preparation functionality to allow specification of algorithm parameters in input CSV file alongside metadata. Allow matching of metadata via file name as well as sample name