Removed warnings from add_measurements.php.
More warnings fixed

Lots of isset() added to the measurements_report.