Complete and integrate spResistance() into program, fix handleInput() suffix bug(s)