fixed double-based log_prob function by fixing agrad::fill and changing is_initialized to function call returning false for double