Normative Approaches to the Analysis of Neural Dynamics and Connectivity