Updated style guide; tidied up some code; rewrote revcomp()