Subcube optimized computation works now.

* With cube of size N, also N subcubes of size N-1 are computed automatically (almost for free).
* If there is some linear relationship in the subcubes, they are checked for quadratic relationships as well.
* This may help to find relations more quickly, since if master cube is
zero, there is quite good probability than some subcube is not zero.