small fixes
displaying of the weight matrix added