Not receiving all datapoints from accelerometer using SPI

Post the adapted code! And post a wiring diagram!