Added a function to create a quadratic metamodel called UpdateMetamodel

Check the function description for more info.