can now run anomaly models with custom error metrics
Merge branch 'master' of git://github.com/numenta/nupic
fix for custom error metrics on category fields for anomaly models
Adds first pass at arithemetic scalar encoder.
update APR for linux64

old version: 1.2.2
new ver: 1.4.8
Merge branch 'master' into arithmetic-encoder
added some patches to make new implementation of spatial pooler comply with old one
Merge branch 'master' of github.com:numenta/nupic

merged changes.
fixed inconsistences in trimming associated with orphan columns
new spatial pooler functional and aligned
Add initial support for the Raspberry Pi platform
Merge remote-tracking branch 'upstream/master'
ready to merge
remove invalid workaround for expf (glibc), 2X speedup

there was a workaround for x86_64 for glibc bug (4years ago),
where expf was slower than exp, so exp was used as a workaround.

that is not true anymore, use expf()  and code is 2X faster.

See and test: https://bugzilla.redhat.com/show_bug.cgi?id=521190
add NTA_ASM flag to optimizations, wrap all assembly code with it

define a new optimization flag NTA_ASM that enables our hand written ASM code be used.
It's important for debug/porting, where the ASM might not be able to run
check for SSE suppurt on all platforms

using PIC compilant ASM
10X speedup for MacOS, use vDSL functions

use SSE instructions with vDSL/vecLib in some cases.
Was enabled for darwin86 only, now add darwin64 too.
avoid code duplication, use checkSSE for other file

int checkSSE is defined in nta/math/array_algo.hpp
use it in bool checkSSE from nta/algorithm/svm.hpp to aviod
code duplication.
revert: asm SSE check works only on darwin86
Merge branch 'master' of git://github.com/numenta/nupic