Applications of Computation-In-Memory Architectures based on Memristive Devices