A Primer of State-space Geometry: Black Brane Configurations in String Theory and M-Theory