Geometry and Arithmetic - Singular support and the determinant of cohomology