updating hom_ref and hom_var to work with alternate ploidies

fixes #228 

for vector of vector initiuazliation you should use simpler initializer_lists: 

```c++
const auto v = vector<vector<int32_t>> {
  {1,2,3},
  {2,4,8},
  ...
};