MATLAB script that solves a Raven's Progressive Matrix similar to the one considered in (Rasmussen D. & Eliasmith C., 2011)