Update siriproxy-nestlearningthermostat.rb

math and method