Consistency Conditions, Compressed Sensing and Machine Learning for Limited Angle Tomography