Spectral Methods For Neural Network Designs