An Investigation Of The Cortical Learning Algorithm