completed the stacked autoendoder with fine tuning and tweaked some code to use precomupted weights if they exist