Material Point Method for Modelling Additive Manufacturing