added LSPI with support for sparse representations