The Velocity and Mass Distribution of Clusters of Galaxies from the CNOC1 Cluster Redshift Survey