Minor changes to updated averaging functions for error handling and style
Minor changes to updated averaging functions for error handling and style

UM-ARM-Lab/arc_utilities,WPI-ARC/arc_utilities,WPI-ARC/arc_utilities,WPI-ARC/arc_utilities,UM-ARM-Lab/arc_utilities,UM-ARM-Lab/arc_utilities