Analysis of Neural Codes