moved random vector/matrix factories into classes