get_distribution change to frozen instance

Fixed duplicate patsy call and moved get_data_from_formula call out of
Imputer init.