Beam Dynamics Studies and Beam Quality in the SNS Normal-Conducting Linac