fix: correct bernoulli_loader kwarg, remove duplicate import, fix mutable default by haoyu-haoyu · Pull Request #743 · BindsNET/bindsnet

@haoyu-haoyu

…able default

- Fix bernoulli_loader reading 'dt' instead of 'max_prob' from kwargs
  in encoding/loaders.py. The docstring documents max_prob but the
  code was fetching the wrong key.

- Remove duplicate 'import numpy as np' in network/monitors.py.

- Fix mutable default argument pipeline=[] in
  MulticompartmentConnection.__init__. Changed to None with guard.