Analysis of stable neural activity patterns generation and classification in neural cultures for real time robotic control