Added implementation of getRawOffset

Still some problems with it though...