static analysis (minor fixes) and Mac update for using Accelerate.framework