argument ordering fix for primer3 bindings; initial python implementation of tm calculation