correcting FP weights file code and resulting layers for FP 2014 and 2013