This pull-request contains call tests and docs

Also the script initially used to generate them (currently python)

Also fixes issue #2 - generating into multidimensional tensors