Computational Geometry of Linear Threshold Functions