Bugfix dist. weight size; added dist. deepnet test