update to create_from_polt funciton

Changing what is passed into functions and fixed typos