Implemented code to parse the polynomial map - need to do on sprout