Representation Costs of Linear Neural Networks: Analysis and Design