Python code to calculate singular value decomposition of a colored image and reconstruct it using fewer dimensions.