A novel geometric approach towards a linear theory for sensor localization