fix mixture.rb (bug)

add again 'model' before pdf method call to calculate_posterior_data_array
and update_temp_weights!