You may be hitting the limit of the 5v pin. According to this link, it is only 1Amp.
There may not be enough to power the BerryGPS-IMU… especially when your Pi is busy.
Try using the USB ports once you have increase the current using the command above
Mark --OzzMaker.com --