Fixed mistake in getMask, 0 still requires 1 bit to represent it.  Updated LRU calculation to always take an invalid way if one exists