Appendices A Derivation of storage capacity scaling A.1 Optimal storage: The scaling of effective input dimensionality