added memory aligned malloc, started SSE optimisation of code, fixed some sqrt to use sqrtf