created getAllReg method in LSM9DS0.py