Email Record: Design of High Speed Neural Networks for Fast Pattern Detection by using Cross Correlation and Matrix Decomposition