Bugfix, illegal format checks and faster data pulling from google.

Bugfix and additional data checks. New algorithm is backwards compatible with already stored data files and corrects errors introduced by previous version of the algorithm. Also improved execution time of houseprint.

third commit might need further testing