Implemented numpy to partial conversion, as a first step to enable resynthesis