found segfaults, changed edist to also be 2d truncated normal so I could make sense of output.