evaluate method

complete evaluation method
added file r/w to store parameter weights