Text this: Computer modelling of phase change materials using the orthogonal collocation method