Removed Smartdashboard preferences code due to null pointer error.  Reverted back to Analog inputs.