Updated to handle empty or incorrect length DVH data (dose and volume bins).