restructured the function call

rewrite of the reshape() in order for the values to be parsed as
numerical values instead of string values.