Narrow nuclear resonance position or cross section shape measurements with a high precision computer controlled beam energy scanning system