Made getPos return the position in parts of 2^14.
Updated methods in ams-enc.c.