A vector rubidium magnetometer