A £1.4m investment is being made into new radiotherapy technology at Hull's Castle Hill Hospital.