Cleaning up CC1101 driver. Adding some additional support functions.