rearrange methods
prior wasn't returning value
whitespace
added test for posterior shape