Rough draft of barostat.

Thermostat is not working at this point, for some reason.
Committing now to keep progress, will go back and debug.

Change-Id: I22703141ad7a045d2a039161a3beecf3ca88f28e