Changed hand crafted minipages to side by side using subfigure package.