Writes an array to a .img file of 2 byte integers
f.write.array.to.img.2bytes(mat,file)
mat
file
Nothing is returned
f.write.analyze f.write.array.to.img.float
f.write.analyze
f.write.array.to.img.float