add method for returning theta vector