Update DualSens.java

consolidated code and removed superfluous comments and spacing