Deep Learning and its Application to Power System Analysis