updated predict maxent - works, still incomplete