weights picture and new error plot plus minor changes around