fixed some bugs

eliminate excessive for loops;
added PQ pyramid;
added power VLAD;