General beta random matrix theory