Speed up video_gauge

Also re-implemented video_gauge_long.

Added tests for both