apply proper validation to datatype conversion of numeric types
fix error when deepcopying functions in planner

with immutable argument lists
and providing a proper error trace for UnsupportedOperationExceptions
fix arithmetic functions for all numeric datatypes
update changes