added first function for create the input table for PyRate