Altered algorithm to rely on incanter vector libraries.