Simplified by making a shorter version of writeReadServer; all input from server read into fromServer_; simplified GetImage to use writeReadServer
Fix calculation of NDArraySize