Fixed bug in metadata for computing log2(num features).  Now it checks >= 1.