tableseg - Creates a new function table by making linear segments between values in stored function tables