UMass shows strong offense in 5-1 victory over RPI